class Person:
    def __init__(self,name,age):
        self.name=name
        self.age=age

    def __str__(self):
        return f'Person[name:{self.name},age:{self.age}]'

per = Person('chl',19)
print(per)
print(dir(per))
print(per)